﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<ElectronicRecords.Models.Specialists>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Specialist
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Specialist</h2>

    <fieldset>
        <legend>Fields</legend>
        
       
        
        <div class="display-label">Firstname</div>
        <div class="display-field"><%: Model.Firstname %></div>
        
        <div class="display-label">Lastname</div>
        <div class="display-field"><%: Model.Lastname %></div>
        
        <div class="display-label">Email</div>
        <div class="display-field"><%: Model.Email %></div>
        
        <div class="display-label">Phone</div>
        <div class="display-field"><%: Model.Phone %></div>
        
        <div class="display-label">CreatedBy</div>
        <div class="display-field"><%: Model.CreatedBy %></div>
        
        <div class="display-label">CreatedOn</div>
        <div class="display-field"><%: String.Format("{0:g}", Model.CreatedOn) %></div>
        
    </fieldset>
    <p>

        <%: Html.ActionLink("Редактировать", "Edit", new { id=Model.ID_Specialist }) %> |
        <%: Html.ActionLink("Назад к списку", "List") %>
    </p>

</asp:Content>

